<div id="content">
    <div smart-include="app/project/views/sub-header.tpl.html"></div>
    <div class="container_box" style="background-color: white">
        <ul id="myTab" class="nav nav-tabs">
            <li class="active">
                <a href="#home" data-toggle="tab">油罐信息</a>
            </li>
        </ul>
        <div id="myTabContent" class="tab-content row">
            <div class="tab-pane fade in active" id="home" style=" padding: 20px">
                <h6>油罐名称</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.name">
                    </div>
                </div>

                <h6>油罐编号</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.num">
                    </div>
                </div>

                <h6>客户名称</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.clientname">
                    </div>
                </div>

                <h6>油罐类型</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <select id="project_type" class="form-control" ng-model="infor.type">
                            <option value="3">立式钢油罐</option>
                            <option value="4">卧式钢油罐</option>
                        </select>
                    </div>
                </div>

                <h6>油品类型</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.oiltype" />
                    </div>
                </div>
                <h6>油罐总容积/m3</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.capacity" />
                    </div>
                </div>
                <h6>油罐高度/m</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.height" />
                    </div>
                </div>

                <h6>创建人</h6>
                <div class="row">
                    <div class="col-sm-3">
                        <input type="text" class="form-control" ng-model="infor.fid" readonly>
                    </div>
                </div>

                <h6>油罐说明</h6>
                <div class="row">
                    <div class="col-sm-4">
                        <textarea class="form-control" rows="3" ng-model="infor.des"></textarea>
                    </div>
                </div>
                
                <!-- 保存项目 -->
                <a class="btn btn-primary margin-top-10" ng-show="save" ng-click="save_infor()">保存</a>
                <!-- 删除项目 --><!--ng-show="new"-->
                <a class="btn btn-warning margin-left-10 margin-top-10" ng-show="new" href="javascript:void (0)" ng-click="del_project()">删除项目</a>
            </div>
        </div>
        
    </div>
</div>
<!--删除项目box-->
<div class="modal fade" id="del_project" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header bg-color-white">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    ×
                </button>
                <h6 class="modal-title txt-color-black">
                    删除
                </h6>
            </div>

            <div class="modal-body">
                确定删除该项目 ？
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" ng-click="del()">确定</button>
                <button type="button" class="btn btn-defalut" data-dismiss="modal">取消</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!--删除项目 end-->
